<template>
    <div>
        <el-menu default-active="/SellerInfo" router class="el-menu-demo" mode="horizontal" @select="handleSelect">
        <el-menu-item index="/SellerInfo">商家信息</el-menu-item>
        <el-menu-item index="/Message" >消息中心</el-menu-item>
        <el-menu-item index="/Mygoods" >我的商品</el-menu-item>
        <el-menu-item index="/SellerOrder">订单管理</el-menu-item>
        </el-menu>
        <div class="line">
            <keep-alive>
                <router-view></router-view>
            </keep-alive>
        </div>
        
    </div>
</template>
<script>


export default ({
    data(){
        return{
            activeIndex: '1',
            activeIndex2: '1',
        }
    },
    methods:{
        handleSelect(key, keyPath) {
            console.log(key, keyPath);
        }
    },
    created() {

    }
})
</script>
<style scoped>

</style>
